package pl.edu.mimuw.irs.core.model.design.net;

import java.util.Map;

public class IRSActivityCopier extends IRSTransitionCopier {

	// *** Attributes

	protected IRSActivity activity;
	public IRSActivity getActivity() {
		return activity;
	}
	
	// *** Constructors
	
	public IRSActivityCopier(IRSActivity activity) {
		super(activity);
		this.activity = activity; 
	}
	
	// *** Methods

	@Override
	public IRSNode copy() {
		return copyAsActivity();
	}

	@Override
	public IRSNode copy(int options) {
		return copyAsActivity(options);
	}

	@Override
	public IRSNode copy(Map<IRSNode, IRSNode> clonesMap) {
		return copyAsActivity(clonesMap);
	}
}
